//
//  KABMallOrdDetInfoTCell.m
//  kabu
//
//  Created by XiangDongMBP on 2017/3/10.
//  Copyright © 2017年 East. All rights reserved.
//

#import "KABMallOrdDetInfoTCell.h"
#import "KABModel.h"

@implementation KABMallOrdDetInfoTCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configViewWithOrderDetail:(KABMallOrderDetail *)order {
    NSString *str = [NSString stringWithFormat:@"订单编号：%@\n创建时间：%@", order.order_id, order.create_time];
    if (order.wx_transaction_id.length) {
        str = [NSString stringWithFormat:@"%@\n微信交易单号：%@", str, order.wx_transaction_id];
    }
    self.infoLabel.text = str;
}

@end
